package com.wlx.jdbc.service.Impl;

import com.wlx.day01.entity.Users;
import com.wlx.jdbc.dao.UserDao;
import com.wlx.jdbc.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public UserServiceImpl(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public boolean updateUser(Users users) {
        return userDao.updateUser(users);
    }
}
